package tictac.ui;

import java.util.Locale;
import java.util.ResourceBundle;

public class MessagesConfiguration {
	
	public static ResourceBundle getMessages(){
		ResourceBundle bundle = null;
			
		if (Locale.getDefault().equals(new Locale("pt","BR")) ){
			bundle = ResourceBundle.getBundle("tictac.ui.messages_pt_BR",new Locale("pt", "BR") );	
		} else{
			bundle = ResourceBundle.getBundle("tictac.ui.messages_en_US",new Locale("en", "US") );
		}
		return bundle;
	}
}
